#include "Logger.hpp"

int main()
{
    // EnableConsoleLogStrategy();
    EnableFileLogStrategy();

    // RAII风格的日志构建和输出刷新的过程
    LOG(Loglevel::ERROR) << "hello world" << ", 3.14 " << 123;
    LOG(Loglevel::WARNING) << "hello world" << ", 3.14 " << 123;
    LOG(Loglevel::ERROR) << "hello world" << ", 3.14 " << 23;
    LOG(Loglevel::ERROR) << "hello world" << ", 3.14 " << 123;
}